package org.idea.qiyu.framework.threadpool.core;

/**
 * @Author linhao
 * @Date created in 10:42 下午 2021/10/13
 */
public interface ThreadPool {

    void execute(Runnable runnable);

    void shutdown();

    int getMaxSize();

    int getInitSize();

    int getCoreSize();

    int getActiveSize();

    int getActiveCount();

    boolean isShutdown();
}
